package org.jmu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jmu.entity.Topic;
import org.jmu.entity.Upload;

public interface TopicMapper {
	void addTopic(@Param("author_name")String author_name,@Param("sort_topic")String sort_topic,@Param("title")String title,@Param("content")String content,@Param("create_time")String create_time);
	public List<Topic> queryTopic(String author_name);
	void deleteTopicbytitle(String title);
	public Topic queryTopicbytitle(String title);
	public List<Topic> queryallTopic();
}
